using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN KhoanTienNhapTruongService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: KhoanTienNhapTruongService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class KhoanTienNhapTruongService : IKhoanTienNhapTruongService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: KhoanTienNhapTruong_ID</para>
		/// <para>Output: KhoanTienNhapTruongEntity</para>
		///</summary>
		public KhoanTienNhapTruongEntity SelectOne(int KhoanTienNhapTruong_ID){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.SelectOne(KhoanTienNhapTruong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhoanTienNhapTruongEntity</para>
		///</summary>
		public List<KhoanTienNhapTruongEntity> SelectAll(){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of KhoanTienNhapTruongEntity</para>
		///</summary>
		public List<KhoanTienNhapTruongEntity> SelectAllFilter(string strFilter){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: KhoanTienNhapTruongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(KhoanTienNhapTruongEntity o){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: KhoanTienNhapTruongEntity</para>
		/// <para>Output: KhoanTienNhapTruongEntity</para>
		///</summary>
		public KhoanTienNhapTruongEntity SaveRet(KhoanTienNhapTruongEntity o){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of KhoanTienNhapTruongEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<KhoanTienNhapTruongEntity> list){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of KhoanTienNhapTruongEntity</para>
		/// <para>Output: List of KhoanTienNhapTruongEntity</para>
		///</summary>
		public List<KhoanTienNhapTruongEntity> SaveListRet(List<KhoanTienNhapTruongEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: KhoanTienNhapTruongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(KhoanTienNhapTruongEntity o){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of KhoanTienNhapTruongEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<KhoanTienNhapTruongEntity> list){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateKhoanTien_ID</para>
		/// <para>Input: NewKhoanTien_ID,KhoanTienNhapTruong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateKhoanTien_ID(int NewKhoanTien_ID,int KhoanTienNhapTruong_ID){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.UpdateKhoanTien_ID(NewKhoanTien_ID,KhoanTienNhapTruong_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSoTien</para>
		/// <para>Input: NewSoTien,KhoanTienNhapTruong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSoTien(Decimal NewSoTien,int KhoanTienNhapTruong_ID){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.UpdateSoTien(NewSoTien,KhoanTienNhapTruong_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: KhoanTienNhapTruongEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(KhoanTienNhapTruongEntity o){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: KhoanTienNhapTruong_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int KhoanTienNhapTruong_ID){
			KhoanTienNhapTruongDAO dao = new KhoanTienNhapTruongDAO();
			return dao.DeleteByID(KhoanTienNhapTruong_ID);
		}
		#endregion

		#region Select join to KhoanTien functions
		#endregion

		#region Select,delete by KhoanTienNhapTruong_ID functions
		#endregion

		#region Select,delete by KhoanTien_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END KhoanTienNhapTruongWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

